Adam K Dean

Posts tagged with csharp

Import content using MonoGame & XNA

Published 13 April 2014 in archive with tags gamedev , monogame , xna , csharp So I knew this was coming. I knew there would be issues with the content pipeline, long lost roots reaching back down into the abyss of XNA and unmaintained Microsoft projects. Game development is all about challenges. It's the reason I love it. Everything pushes you to the limit; mentally, physically, emotionally. Continue reading …

Replace anchor tags with square bracket format

Published 18 December 2013 in archive with tags regex , csharp For reason I won't go into, I have just found myself needing to replace a lot of anchor tags with square bracket format anchor tags, like so: Continue reading …

Force JSON with WebAPI

Published 18 September 2013 in archive with tags webapi , json , api , csharp Sometimes when you call a WebAPI through the browser, you'll be served XML. This may make it easier to read, but it's really not helping us when all we really want is JSON. Putting the following snippet into the end of Application_Start() in Global.asax.cs will force your WebAPI application to always send JSON. Continue reading …

Resize Bitmap without major quality loss

Published 27 June 2013 in archive with tags bitmap , image , csharp I'm working on a computer vision project at the moment. Whilst working on it, I've had to resize a few bitmaps due to the webcam library I'm using not being able to properly set the resolution of the camera. Continue reading …

FizzBuzz? More than one line doesn't count!

Published 21 March 2013 in archive with tags fizzbuzz , csharp Just doing research over at r/cscareerquestions when I stumbled upon a thread about FizzBuzz. Continue reading …



Newer Page 1 of 4 Older